package com.example.nutritionmate.repository;

import com.example.nutritionmate.entity.NutritionFact;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface NutritionFactRepository extends JpaRepository<NutritionFact, Integer> {
    List<NutritionFact> findAll();
    Optional<NutritionFact> findById(Integer nutritionId);
}
